package com.maretksa.absensi;

import static org.junit.Assert.*;

import org.testng.annotations.AfterTest;
import org.testng.annotations.Test;


public class TestAbsensi {
	Abstract junitTestClass = new Abstract();

	@Test
	public void testWaitForElmentMethod() {
		assertEquals((int) 5, junitTestClass.waitForText(5));
		System.out.println("it's Work");
	}
	
	@AfterTest
	public void testAnotherMethod() {
		assertEquals((int) 10, junitTestClass.waitForText(7));
		System.out.println("i skip this test");
	}

}
